#include "gw.h"
#include "emu_common.h"
gw_param g_gw_cfg;
uint8_t gw_param_init()
{
    rt_strncpy(g_gw_cfg.sn,"dusun_01",sizeof("dusun_01"));
    g_gw_cfg.runningStatus = 1;
    g_gw_cfg.uploadInterval = 30;
    rt_strncpy(g_gw_cfg.softVer,"1.0.0",sizeof("1.0.0"));
    rt_strncpy(g_gw_cfg.hardVer,"1.0.1",sizeof("1.0.1"));
    return EMU_SUCCESS;
}
gw_param* gw_getparam()
{
    return &g_gw_cfg;
}
